projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf151a
)
* net/rcirc.el (rcirc-kill-buffer-hook): Flush logs.
author
Giorgos Keramidas
<keramida@ceid.upatras.gr>
Sat, 22 Jan 2011 16:21:38 +0000
(17:21 +0100)
committer
Deniz Dogan
<deniz.a.m.dogan@gmail.com>
Sat, 22 Jan 2011 16:21:38 +0000
(17:21 +0100)
lisp/net/rcirc.el
patch
|
blob
|
history
diff --git
a/lisp/net/rcirc.el
b/lisp/net/rcirc.el
index 6481f627d9269518d04c96295036b179d5a8ec2e..cf570beb0ff479f43b3834c9c5feba525d132fd3 100644
(file)
--- a/
lisp/net/rcirc.el
+++ b/
lisp/net/rcirc.el
@@
-1029,6
+1029,9
@@
If ALL is non-nil, update prompts in all IRC buffers."
(defun rcirc-kill-buffer-hook ()
"Part the channel when killing an rcirc buffer."
(when (eq major-mode 'rcirc-mode)
+ (when (and rcirc-log-flag
+ rcirc-log-directory)
+ (rcirc-log-write))
(rcirc-clean-up-buffer "Killed buffer")))
(defun rcirc-change-major-mode-hook ()